package com.campus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.campus.entry.ManagerTeacher;
import com.campus.pojo.dto.TeacherDto;

import java.util.List;

public interface ManagerTeacherService {
    void saveTeacher(ManagerTeacher managerTeacher);
    ManagerTeacher getTeacherById(Integer managerTeacherId);
    List<ManagerTeacher> getTeacherBy(TeacherDto teacherDto);

    void updateTeacher(ManagerTeacher managerTeacher);

    void deleteTeacher(Integer id);

    Page<ManagerTeacher> listTeachers(Integer pageNum, Integer pageSize);

    Page<ManagerTeacher> listTeachers(Integer pageNum, Integer pageSize, TeacherDto teacherDto);

    Long conutTeacher();
    Integer getTeacherIdByLoginId(Integer loginId);

}
